package com.plian.system.vo.pm.bond;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.plian.Tools.DateUtil;
import lombok.*;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @description:
 * @author: gangan
 * @create: 2020-11-24 10:38
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BondRepaymentVO {

    /**
     *偿还id
     */
    private String bondRepaymentId;
    /**
     * 本期偿还金额
     */
    private BigDecimal repaymentOfPrincipal;

    /**
     * 偿还日期
     */
    @JsonFormat(pattern = DateUtil.PATTERN_DATE, timezone = "Asia/Shanghai")
    private Date repaymentDate;
}
